package com.baoxin.service;

import com.baoxin.mapper.UserMapper;
import com.baoxin.pojo.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserService {


    @Autowired
    private UserMapper userMapper  ;

    public User queryUserById(Long id){
        return userMapper.selectByPrimaryKey(id);
    }



}
